package com.github.thinwonton.springboot.showcase.poi.easypoi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;

import java.util.Date;

/**
 * Student
 *
 * @author hugo
 * @date 2018/9/19
 */
public class StudentV2 {
    /**
     * 学生姓名
     */
    @Excel(groupName = "group", name = "name")
    private String name;
    /**
     * 学生性别
     */
    @Excel(groupName = "group", name = "sex")
    private String sex;

    @Excel(groupName = "group", name = "birthday", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd")
    private Date birthday;

    @Excel(groupName = "group", name = "registrationDate", databaseFormat = "yyyyMMddHHmmss", format = "yyyy-MM-dd")
    private Date registrationDate;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getRegistrationDate() {
        return registrationDate;
    }

    public void setRegistrationDate(Date registrationDate) {
        this.registrationDate = registrationDate;
    }
}
